<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE> <? echo $title;?> </TITLE>
<base href="<?php echo base_url() ?>" />
<LINK href="images/default_1.css" type="text/css" rel=stylesheet>
<SCRIPT src="js/jquery.min.js" type="text/javascript"></SCRIPT>
<SCRIPT type="text/javascript">
   function collapse_change(menucount) {
       $("#menu_"+menucount).toggle() ;
}
 function getData(){
      var data_url= '<?php echo site_url("main/getCgTotal") ?>';
      $.ajax({  //调用Juqery Ajax
      type: "POST",
      url: data_url,
      timeout: 1500,
      error:function(){$('#cg').html("");},
      success: function(msg){$('#cg').html(msg);}
});
    var data_url1= '<?php echo site_url("main/getDoTotal") ?>';
     $.ajax({  //调用Juqery Ajax
      type: "POST",
      url: data_url1,
      timeout: 1500,
      error:function(){$('#do').html("");},
      success: function(msg){$('#do').html(msg);}
});
        }
  setInterval("getData()", 5000); //轮换时间为5秒
</SCRIPT>
</HEAD>
<BODY style="MARGIN: 3px">
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD>
      <DIV align=center>
      <A href="<?php echo site_url("main/Vmain"); ?>" target="main">系统首页</A>&nbsp;&nbsp;
      </DIV>
    </TD>
  </TR>
  </TBODY>
</TABLE>
<DIV id=home>
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(0) href="javascript:void(0)"><IMG src="images/menu_reduce.gif" name="menuimg_0" border=0 id=menuimg_0></A>&nbsp;<A onclick=collapse_change(0) href="javascript:void(0)">调单起草</A></TD>
  </TR>
  <TBODY id=menu_0>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
      <?php
      if(isset($type))
        {
        	foreach ($type->result() as $row) :
        ?>
        <TR><TD><A href="<?php echo site_url("main/req"."/NULL/".$row->type_id); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;<?php echo $row->type ?></A></TD></TR>
        <?php
        	endforeach;
        }
        ?>
        <TR>
          <TD><A href="<?php echo site_url("main/req_cg"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;草稿箱<span id="cg" style="color: #FF0000;font-size: 13px;"></span></A></TD>
        </TR>
        </TBODY>
      </TABLE>
    </TD>
  </TR>
  </TBODY>
</TABLE>
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(1) href="javascript:void(0)"><IMG src="images/menu_reduce.gif" name="menuimg_1" border=0 id=menuimg_1></A>&nbsp;<A onclick=collapse_change(1) href="javascript:void(0)">调单管理</A></TD>
  </TR>
  <TBODY id=menu_1>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><A href="<?php echo site_url("main/req_do"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;正在处理<span id="do" style="color: #FF0000;font-size: 13px;"></span></A></TD>
        </TR>
        <TR>
          <TD><A href="<?php echo site_url("main/req_ygd"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;己归档</A></TD>
        </TR>
         <TR>
          <TD><A href="<?php echo site_url("main/req_all"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;全部的调单</A></TD>
        </TR>
        <TR>
          <TD><A href="<?php echo site_url("main/req_find"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;调度单查询</A></TD>
        </TR>
        <TR>
          <TD><A href="<?php echo site_url("main/req_browser"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;调度单浏览</A></TD>
        </TR>
        </TBODY>
      </TABLE>
    </TD>
  </TR>
  </TBODY>
</TABLE>
<!--
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(2) href="javascript:void(0)"><IMG src="images/menu_reduce.gif" name="menuimg_1" border=0 id=menuimg_1></A>&nbsp;<A onclick=collapse_change(2) href="javascript:void(0)">基站管理</A></TD>
  </TR>
  <TBODY id=menu_2>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><A href="<?php echo site_url("admin/addnews"); ?>" target="main">基站查询</A></TD>
        </TR>
         <TR>
          <TD><A href="<?php echo site_url("main/bts_import"); ?>" target="main">数据导入</A></TD>
        </TR>
        <TR>
          <TD><A href="<?php echo site_url("admin/listnews"); ?>" target="main">数据导出</A></TD>
        </TR>
        </TBODY>
      </TABLE>
    </TD>
  </TR>
  </TBODY>
</TABLE>
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(3) href="javascript:void(0)"><IMG src="images/menu_reduce.gif" name="menuimg_1" border=0 id=menuimg_1></A>&nbsp;<A onclick=collapse_change(3) href="javascript:void(0)">电路管理</A></TD>
  </TR>
  <TBODY id=menu_3>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><A href="<?php echo site_url("admin/addnews"); ?>" target="main">电路查询</A></TD>
        </TR>
         <TR>
          <TD><A href="<?php echo site_url("admin/listnews"); ?>" target="main">数据导入</A></TD>
        </TR>
        <TR>
          <TD><A href="<?php echo site_url("admin/listnews"); ?>" target="main">数据导出</A></TD>
        </TR>
        </TBODY>
      </TABLE>
    </TD>
  </TR>
  </TBODY>
</TABLE>
-->
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(4) href="javascript:void(0)"><IMG src="images/menu_reduce.gif" name="menuimg_1" border=0 id=menuimg_1></A>&nbsp;<A onclick=collapse_change(4) href="javascript:void(0)">其它操作</A></TD>
  </TR>
  <TBODY id=menu_4>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><A href="<?php echo site_url("main/editpwd"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;密码修改</A></TD>
        </TR>
        <TR>
          <TD><A href="<?php echo site_url("main/event"); ?>" target="main"><img src="images/left.gif" border="0" /> &nbsp;操作日志</A></TD>
        </TR>
        <!--
        <TR>
          <TD><A href="<?php echo site_url("admin/addnews"); ?>" target="main">用户查询</A></TD>
        </TR>
         <TR>
          <TD><A href="<?php echo site_url("admin/listnews"); ?>" target="main">公司组织树</A></TD>
        </TR>
        -->
        <TR>
          <TD><A href="/bbs/" target="_blank"><img src="images/left.gif" border="0" /> &nbsp;系统论坛</A></TD>
        </TR>
        <TR>
          <TD><A href="/hhyd_tris/login.php" target="_blank"><img src="images/left.gif" border="0" /> &nbsp;老版本入口</A></TD>
        </TR>
        </TBODY>
      </TABLE>
    </TD>
  </TR>
  </TBODY>
</TABLE>
</DIV>
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD>
      <DIV align=center>
       <A href="<?php echo site_url('admin'); ?>" target="_blank">管理后台</A>
      </DIV>
    </TD>
  </TR>
  </TBODY>
</TABLE>
<TABLE class=leftmenulist cellSpacing=0 cellPadding=0 width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD>
      <DIV style="MARGIN-LEFT: 48px">
        <a href="<?php echo site_url("main/logout"); ?>" target="_top">退出</a> </DIV>
    </TD>
  </TR>
  </TBODY>
</TABLE>
</BODY>
</HTML>
